#pragma once

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

#define EAS 10
#define ROWS 9+2
#define COLS 9+2
#define ROW 9
#define COL 9

//初始化数组
void InitBoard(char board[ROWS][COLS], int rows, int cols, char set);

//打印数组
void DisplayBoard(char board[ROWS][COLS], int row, int col);

//布置雷
void SetMine(char board[ROWS][COLS], int row, int col);

//排查雷
void FindBoard(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);